<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<title>物业管理软件</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta name="description" content="Charisma, a fully featured, responsive, HTML5, Bootstrap admin template.">
	<meta name="author" content="Muhammad Usman">

	<#include "*/pubcss.ftl">
	<script src="${base}/script/pagination.js"></script>
</head>

<body>
	<#include "*/top.ftl">
	<!-- topbar ends -->
	<div class="container-fluid">
		<div class="row-fluid">
			<#include "*/left.ftl">
			<div id="content" class="span10">
			<!-- content starts -->
			<div>
				<ul class="breadcrumb">
					<li>
						<a href="#">基础数据</a> <span class="divider">/</span>
					</li>
					<li>
						<a href="#">住房性质管理</a>
					</li>
				</ul>
			</div>
		    <div class="row-fluid sortable">
				<div class="box span12">
					<div class="box-header well">
						<h2><i class="icon-edit"></i>查询条件</h2>
					</div>
					<div class="box-content">
						<div class="row-fluid">
							<div class="span6">
							   <fieldset>
								<div class="control-group form-horizontal">
								   <label class="control-label" for="focusedInput">名称</label>
									<div class="controls">
										<input class="input-xlarge focused" id="hpname" name="housingProperty.hpname" type="text" value="${(housingProperty.hpname)?if_exists}">
									</div>
								</div>
								</fieldset> 
							</div>
							<div class="span6">
							  <button type="button" class="btn btn-primary" onclick="javascript:load('find','../config/queryPage_HousingProperty.action','${(rownum)?if_exists}','${(currentpage)?if_exists}','${(pageSize)?if_exists}',['hpname']);">查询</button>
							</div>
                        </div>
					</div>
				</div><!--/span-->

			</div><!--/row-->
		    <div class="row-fluid sortable">
			    <button type="submit" class="btn btn-primary" onclick="window.location.assign('../config/addhousingproperty.action')">新增</button>
		    </div>
			<div class="row-fluid sortable">		
				<div class="box span12">
					<div class="box-header well" data-original-title>
						<h2><i class="icon-user"></i>住房性质信息</h2>
					</div>
					<div class="box-content">
						<table class="table table-bordered table-striped table-condensed">
						  <thead>
							  <tr>
								  <th>序号</th>
								  <th>名称</th>
								  <th>操作</th>
							  </tr>
						  </thead>   
						  <tbody>
						    <#assign index=currentpage*1>
						    <#list (housingPropertys)?if_exists as housingProperty>
							<tr>
								<td>${(index)?if_exists}</td>
								<td class="center">${(housingProperty.hpname)?if_exists}</td>
								<td class="center">
									<a class="btn btn-success" href="../config/view_HousingProperty.action?housingProperty.hpid=${(housingProperty.hpid)?if_exists}">
										<i class="icon-zoom-in icon-white"></i>  
										查看                                            
									</a>
									<a class="btn btn-info" href="../config/load_HousingProperty.action?housingProperty.hpid=${(housingProperty.hpid)?if_exists}">
										<i class="icon-edit icon-white"></i>  
										修改                                           
									</a>
									<a class="btn btn-danger" href="javascript:remove('${(housingProperty.hpid)?if_exists}')">
										<i class="icon-trash icon-white"></i> 
										删除
									</a>
								</td>
							</tr>
							<#assign index=index+1>
							</#list>						
						  </tbody>
					  </table>
					  <div class="pagination pagination-centered">
						  <ul>
							<li><a href="javascript:load('first','../hr/queryPage_HousingProperty.action','${(rownum)?if_exists}','${(currentpage)?if_exists}','${(pageSize)?if_exists}',['hpname']);">首页</a></li>
							<li>
							  <a href="javascript:load('forward','../hr/queryPage_HousingProperty.action','${(rownum)?if_exists}','${(currentpage)?if_exists}','${(pageSize)?if_exists}',['hpname']);">上一页</a>
							</li>
							<li><a href="javascript:load('back','../hr/queryPage_HousingProperty.action','${(rownum)?if_exists}','${(currentpage)?if_exists}','${(pageSize)?if_exists}',['hpname']);">下一页</a></li>
							<li><a href="javascript:load('last','../hr/queryPage_HousingProperty.action','${(rownum)?if_exists}','${(currentpage)?if_exists}','${(pageSize)?if_exists}',['hpname']);">尾页</a></li>
						  </ul>
					  </div>    
					</div>
				</div><!--/span-->
			
			</div><!--/row-->
		  
       
			<!-- content ends -->
			</div><!--/#content.span10-->
		</div><!--/fluid-row-->

		
	</div><!--/.fluid-container-->

	<#include "*/infotemplate/alert.ftl">
    <#include "*/infotemplate/saveinfo.ftl">
    <#include "*/pubjs.ftl">
    <script src='${base}/script/config/housingproperty_manager.js'></script>
</body>
</html>
